package com.sinodata.bsm.common.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * PropertyObjectValue entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "PROPERTY_OBJECT_VALUE")
public class PropertyObjectValue implements java.io.Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -3352221293344750628L;

    // Fields    
    private Long id;
    private Long resId;
    private Long propId;
    private Date time;
    private String data20;
    private String data19;
    private String data18;
    private String data17;
    private String data16;
    private String data15;
    private String data14;
    private String data13;
    private String data12;
    private String data11;
    private String data10;
    private String data9;
    private String data8;
    private String data7;
    private String data6;
    private String data5;
    private String data4;
    private String data3;
    private String data2;
    private String data1;

    // Constructors

    /** default constructor */
    public PropertyObjectValue() {
    }

    /** minimal constructor */
    public PropertyObjectValue(Long id) {
        this.id = id;
    }

    /** full constructor */
    public PropertyObjectValue(Long id, Long resId, Long propId, Date time, String data20, String data19, String data18, String data17, String data16, String data15, String data14, String data13, String data12, String data11, String data10, String data9, String data8, String data7, String data6, String data5, String data4, String data3, String data2, String data1) {
        this.id = id;
        this.resId = resId;
        this.propId = propId;
        this.time = time;
        this.data20 = data20;
        this.data19 = data19;
        this.data18 = data18;
        this.data17 = data17;
        this.data16 = data16;
        this.data15 = data15;
        this.data14 = data14;
        this.data13 = data13;
        this.data12 = data12;
        this.data11 = data11;
        this.data10 = data10;
        this.data9 = data9;
        this.data8 = data8;
        this.data7 = data7;
        this.data6 = data6;
        this.data5 = data5;
        this.data4 = data4;
        this.data3 = data3;
        this.data2 = data2;
        this.data1 = data1;
    }

    // Property accessors
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequence")
    @SequenceGenerator(name = "sequence", sequenceName = "PROPERTY_OBJECT_VALUE_SEQ")
    @Column(name = "ID", unique = true, nullable = false, precision = 18, scale = 0)
    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "RES_ID", precision = 18, scale = 0)
    public Long getResId() {
        return this.resId;
    }

    public void setResId(Long resId) {
        this.resId = resId;
    }

    @Column(name = "PROP_ID", precision = 18, scale = 0)
    public Long getPropId() {
        return this.propId;
    }

    public void setPropId(Long propId) {
        this.propId = propId;
    }

    @Column(name = "TIME", length = 7)
    public Date getTime() {
        return this.time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Column(name = "DATA20", length = 1024)
    public String getData20() {
        return this.data20;
    }

    public void setData20(String data20) {
        this.data20 = data20;
    }

    @Column(name = "DATA19", length = 1024)
    public String getData19() {
        return this.data19;
    }

    public void setData19(String data19) {
        this.data19 = data19;
    }

    @Column(name = "DATA18", length = 1024)
    public String getData18() {
        return this.data18;
    }

    public void setData18(String data18) {
        this.data18 = data18;
    }

    @Column(name = "DATA17", length = 1024)
    public String getData17() {
        return this.data17;
    }

    public void setData17(String data17) {
        this.data17 = data17;
    }

    @Column(name = "DATA16", length = 1024)
    public String getData16() {
        return this.data16;
    }

    public void setData16(String data16) {
        this.data16 = data16;
    }

    @Column(name = "DATA15", length = 1024)
    public String getData15() {
        return this.data15;
    }

    public void setData15(String data15) {
        this.data15 = data15;
    }

    @Column(name = "DATA14", length = 1024)
    public String getData14() {
        return this.data14;
    }

    public void setData14(String data14) {
        this.data14 = data14;
    }

    @Column(name = "DATA13", length = 1024)
    public String getData13() {
        return this.data13;
    }

    public void setData13(String data13) {
        this.data13 = data13;
    }

    @Column(name = "DATA12", length = 1024)
    public String getData12() {
        return this.data12;
    }

    public void setData12(String data12) {
        this.data12 = data12;
    }

    @Column(name = "DATA11", length = 1024)
    public String getData11() {
        return this.data11;
    }

    public void setData11(String data11) {
        this.data11 = data11;
    }

    @Column(name = "DATA10", length = 1024)
    public String getData10() {
        return this.data10;
    }

    public void setData10(String data10) {
        this.data10 = data10;
    }

    @Column(name = "DATA9", length = 1024)
    public String getData9() {
        return this.data9;
    }

    public void setData9(String data9) {
        this.data9 = data9;
    }

    @Column(name = "DATA8", length = 1024)
    public String getData8() {
        return this.data8;
    }

    public void setData8(String data8) {
        this.data8 = data8;
    }

    @Column(name = "DATA7", length = 1024)
    public String getData7() {
        return this.data7;
    }

    public void setData7(String data7) {
        this.data7 = data7;
    }

    @Column(name = "DATA6", length = 1024)
    public String getData6() {
        return this.data6;
    }

    public void setData6(String data6) {
        this.data6 = data6;
    }

    @Column(name = "DATA5", length = 1024)
    public String getData5() {
        return this.data5;
    }

    public void setData5(String data5) {
        this.data5 = data5;
    }

    @Column(name = "DATA4", length = 1024)
    public String getData4() {
        return this.data4;
    }

    public void setData4(String data4) {
        this.data4 = data4;
    }

    @Column(name = "DATA3", length = 1024)
    public String getData3() {
        return this.data3;
    }

    public void setData3(String data3) {
        this.data3 = data3;
    }

    @Column(name = "DATA2", length = 1024)
    public String getData2() {
        return this.data2;
    }

    public void setData2(String data2) {
        this.data2 = data2;
    }

    @Column(name = "DATA1", length = 1024)
    public String getData1() {
        return this.data1;
    }

    public void setData1(String data1) {
        this.data1 = data1;
    }

    @Override
    public String toString() {
        return "PropertyObjectValue [id=" + id + ", resId=" + resId + ", propId=" + propId + ", time=" + time + ", data20=" + data20 + ", data19=" + data19 + ", data18=" + data18 + ", data17=" + data17 + ", data16=" + data16 + ", data15=" + data15 + ", data14=" + data14 + ", data13=" + data13 + ", data12=" + data12 + ", data11=" + data11 + ", data10=" + data10 + ", data9=" + data9 + ", data8=" + data8 + ", data7=" + data7 + ", data6=" + data6 + ", data5=" + data5 + ", data4=" + data4 + ", data3=" + data3 + ", data2=" + data2 + ", data1=" + data1 + "]";
    }

}